import request from '@/utils/request'

// 查询实时获取成交记录列表
export function listSwaprealtimetransactionbak(query) {
  return request({
    url: '/swaprealtimetransaction/swaprealtimetransactionbak/list',
    method: 'get',
    params: query
  })
}

// 查询实时获取成交记录详细
export function getSwaprealtimetransactionbak(id) {
  return request({
    url: '/swaprealtimetransaction/swaprealtimetransactionbak/' + id,
    method: 'get'
  })
}

// 新增实时获取成交记录
export function addSwaprealtimetransactionbak(data) {
  return request({
    url: '/swaprealtimetransaction/swaprealtimetransactionbak',
    method: 'post',
    data: data
  })
}

// 修改实时获取成交记录
export function updateSwaprealtimetransactionbak(data) {
  return request({
    url: '/swaprealtimetransaction/swaprealtimetransactionbak',
    method: 'put',
    data: data
  })
}

// 删除实时获取成交记录
export function delSwaprealtimetransactionbak(id) {
  return request({
    url: '/swaprealtimetransaction/swaprealtimetransactionbak/' + id,
    method: 'delete'
  })
}
